<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * P2pFiles
 *
 * @ORM\Table(name="p2p_files")
 * @ORM\Entity
 */
class P2pFiles
{
    /**
     * @var string
     *
     * @ORM\Column(name="f_type", type="string", length=100, nullable=false)
     */
    private $fType;

    /**
     * @var string
     *
     * @ORM\Column(name="f_name", type="string", length=100, nullable=false)
     */
    private $fName;

    /**
     * @var string
     *
     * @ORM\Column(name="f_extension", type="string", length=10, nullable=false)
     */
    private $fExtension;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="f_save_date", type="datetime", nullable=false)
     */
    private $fSaveDate;

    /**
     * @var string
     *
     * @ORM\Column(name="f_md5", type="string", length=32, nullable=false)
     */
    private $fMd5;

    /**
     * @var string
     *
     * @ORM\Column(name="f_file", type="blob", length=16777215, nullable=false)
     */
    private $fFile;

    /**
     * @var string
     *
     * @ORM\Column(name="f_size", type="string", length=11, nullable=false)
     */
    private $fSize = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="f_relation_tb", type="string", length=30, nullable=false)
     */
    private $fRelationTb = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="f_web_down", type="integer", nullable=false)
     */
    private $fWebDown = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="f_cp_down", type="integer", nullable=false)
     */
    private $fCpDown = '0';

    /**
     * @var boolean
     *
     * @ORM\Column(name="f_is_use", type="boolean", nullable=true)
     */
    private $fIsUse = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="f_id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $fId;



    /**
     * Set fType
     *
     * @param string $fType
     *
     * @return P2pFiles
     */
    public function setFType($fType)
    {
        $this->fType = $fType;

        return $this;
    }

    /**
     * Get fType
     *
     * @return string
     */
    public function getFType()
    {
        return $this->fType;
    }

    /**
     * Set fName
     *
     * @param string $fName
     *
     * @return P2pFiles
     */
    public function setFName($fName)
    {
        $this->fName = $fName;

        return $this;
    }

    /**
     * Get fName
     *
     * @return string
     */
    public function getFName()
    {
        return $this->fName;
    }

    /**
     * Set fExtension
     *
     * @param string $fExtension
     *
     * @return P2pFiles
     */
    public function setFExtension($fExtension)
    {
        $this->fExtension = $fExtension;

        return $this;
    }

    /**
     * Get fExtension
     *
     * @return string
     */
    public function getFExtension()
    {
        return $this->fExtension;
    }

    /**
     * Set fSaveDate
     *
     * @param \DateTime $fSaveDate
     *
     * @return P2pFiles
     */
    public function setFSaveDate($fSaveDate)
    {
        $this->fSaveDate = $fSaveDate;

        return $this;
    }

    /**
     * Get fSaveDate
     *
     * @return \DateTime
     */
    public function getFSaveDate()
    {
        return $this->fSaveDate;
    }

    /**
     * Set fMd5
     *
     * @param string $fMd5
     *
     * @return P2pFiles
     */
    public function setFMd5($fMd5)
    {
        $this->fMd5 = $fMd5;

        return $this;
    }

    /**
     * Get fMd5
     *
     * @return string
     */
    public function getFMd5()
    {
        return $this->fMd5;
    }

    /**
     * Set fFile
     *
     * @param string $fFile
     *
     * @return P2pFiles
     */
    public function setFFile($fFile)
    {
        $this->fFile = $fFile;

        return $this;
    }

    /**
     * Get fFile
     *
     * @return string
     */
    public function getFFile()
    {
        return $this->fFile;
    }

    /**
     * Set fSize
     *
     * @param string $fSize
     *
     * @return P2pFiles
     */
    public function setFSize($fSize)
    {
        $this->fSize = $fSize;

        return $this;
    }

    /**
     * Get fSize
     *
     * @return string
     */
    public function getFSize()
    {
        return $this->fSize;
    }

    /**
     * Set fRelationTb
     *
     * @param string $fRelationTb
     *
     * @return P2pFiles
     */
    public function setFRelationTb($fRelationTb)
    {
        $this->fRelationTb = $fRelationTb;

        return $this;
    }

    /**
     * Get fRelationTb
     *
     * @return string
     */
    public function getFRelationTb()
    {
        return $this->fRelationTb;
    }

    /**
     * Set fWebDown
     *
     * @param integer $fWebDown
     *
     * @return P2pFiles
     */
    public function setFWebDown($fWebDown)
    {
        $this->fWebDown = $fWebDown;

        return $this;
    }

    /**
     * Get fWebDown
     *
     * @return integer
     */
    public function getFWebDown()
    {
        return $this->fWebDown;
    }

    /**
     * Set fCpDown
     *
     * @param integer $fCpDown
     *
     * @return P2pFiles
     */
    public function setFCpDown($fCpDown)
    {
        $this->fCpDown = $fCpDown;

        return $this;
    }

    /**
     * Get fCpDown
     *
     * @return integer
     */
    public function getFCpDown()
    {
        return $this->fCpDown;
    }

    /**
     * Set fIsUse
     *
     * @param boolean $fIsUse
     *
     * @return P2pFiles
     */
    public function setFIsUse($fIsUse)
    {
        $this->fIsUse = $fIsUse;

        return $this;
    }

    /**
     * Get fIsUse
     *
     * @return boolean
     */
    public function getFIsUse()
    {
        return $this->fIsUse;
    }

    /**
     * Get fId
     *
     * @return integer
     */
    public function getFId()
    {
        return $this->fId;
    }
}
